package edu.sctu.alex.OtherMouth.day20150430;
/**
 * Created by user03 on 2015/4/30.
 */
public class DayClient {


    public static void main(String[] args) {
//        System.out.println("Hello world");
    //实现计算器的加减乘除
        Calculator calculator=new Calculator();
        int result;
        result=calculator.plus(5,5);
        System.out.println("5 + 5 +"+result);

        result=calculator.sub(10,5);
        System.out.println("10 - 5 ="+result);

        result=calculator.mult(3,3);
        System.out.println("3 * 3="+result);

        result=calculator.div(20, 2);
        System.out.println("20 / 2 ="+result);
    }

}
